package ca.ubc.cs304.library.gui.helper;

import javax.swing.table.DefaultTableModel;

public class LibTableModel extends DefaultTableModel {

	
	public Class getColumnClass(int c) {
		
	
		return getValueAt(0, c).getClass();
    }
	
    public boolean isCellEditable(int rowIndex, int ColIndex) {
    	if(ColIndex == 4) {
    		return true;
    	} else {
            return false;
    	}
    }
}
